Reepay\Checkout\Tests\Helpers\OrderItemsGenerator S

Total Complexity 20
Dependencies 1
Dependents 1
Total lines 186
Lines of code 149
Logical lines of code 34
Comment lines 3
Methods 8
Properties 4

Methods 8

Method Rating Maintainability Complexity Lines of code
generate_line_item()
S
44 5 49
generate_fee_item()
S
49 4 32
generate_shipping_item()
S
51 3 27
add_total_discount()
S
54 2 21
set_options()
S
63 3 10
__construct()
S
76 1 4
get_order_items()
S
82 1 3
add_order_item()
S
80 1 3